text: Properly handle focus moving to a descendent
authorMatthias Clasen <mclasen@redhat.com>
Mon, 24 Aug 2020 22:31:35 +0000 (18:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 24 Aug 2020 22:31:35 +0000 (18:31 -0400)
commit43ec96684a5cc6d9955002c52345a86cffb449bd
treec556f572e9e7c9074eeb888fca24044288a4855b
parent66e0f8505e9d5ed17566e69127589b7c992254fd
text: Properly handle focus moving to a descendent

To discriminate between is-focus and contains-focus,
we need to use notify::is-focus. This makes sure
we don't get annoying warnings when the blink_cb
gets triggered on an unfocused entry.

Fixes: #2979
gtk/gtktext.c